package com.shop.shop.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.shop.shop.entity.UrCn;
import com.shop.shop.mapper.UrCnMapper;
import com.shop.shop.service.UrCnService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户和优惠价中间表 服务实现类
 * </p>
 *
 * @author 小🌤
 * @since 2021-05-04
 */
@Service
public class UrCnServiceImpl extends ServiceImpl<UrCnMapper, UrCn> implements UrCnService {
    @Autowired
    private UrCnMapper urCnMapper;

    @Override
    public UrCn getUser(UrCn urCn) {
        return urCnMapper.getUser(urCn);
    }
}
